package com.example.capsule_chat0322.utils;

import java.util.Random;

/**
 * @Author zhuzhiming
 * @Date 2022/5/2 15:28
 */
public class LotteryUtils {

    private static final Random random = new Random();

    public static boolean isWinner(int number) {

        return random.nextInt(100) <= number;

    }

}
